package org.xxpay.service.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.xxpay.core.entity.AlipayCash;
import org.xxpay.core.entity.AlipayCashExample;

import java.util.List;

public interface AlipayCashMapper {
    int countByExample(AlipayCashExample example);

    int deleteByExample(AlipayCashExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AlipayCash record);

    int insertSelective(AlipayCash record);

    List<AlipayCash> selectByExample(AlipayCashExample example);

    AlipayCash selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AlipayCash record, @Param("example") AlipayCashExample example);

    int updateByExample(@Param("record") AlipayCash record, @Param("example") AlipayCashExample example);

    int updateByPrimaryKeySelective(AlipayCash record);

    int updateByPrimaryKey(AlipayCash record);

    List<Integer> selectAllIdByTemplateAccountIds(@Param("templateAccountIds") List<Long> templateAccountIds);

}